class Invitation < ActiveRecord::Base
  belongs_to :user
  belongs_to :project

  def to_s
    "uid:#{user_id}\nname:#{name}\nmsg: #{msg}\nkey:#{key}\nemail:#{email}\ninvited_id: #{invited_id}\nproject_id: #{project_id}"
  end
  
end
